#include<iostream>
#include<cstdlib>
#include<ctime>
#include <chrono>
#include <iomanip>

using namespace std;
int main()
{
    //报时功能
    auto now =  chrono::system_clock::now();
    time_t now_time_t =  chrono::system_clock::to_time_t(now);
    tm* local_time =  localtime(&now_time_t);
    cout << "Current date and time: " <<  asctime(local_time) <<  endl; 
    
    return 0;
}
